package boot.spring.controller;

import boot.spring.service.WeightmanagementService;
import boot.spring.util.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RequestMapping("/WeightmanagementController")
@RestController
public class WeightmanagementController {
    @Autowired
    private WeightmanagementService weightmanagementService;

    @GetMapping("/fenliang")
    public Result fenliang(String token){
        return weightmanagementService.fenliang();
    }
}
